﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Streambolics.Notes;

namespace DemoApp
{
    public class MomaDocument : Document
    {
        public MomaDocument (Domino.NotesDocument nd)
            :base (nd)
        {
        }

        public string Product
        {
            get
            {
                return ItemText ("Product");
            }
        }

        public string DocNumber
        {
            get
            {
                return ItemText ("DocNumber");
            }
        }

        public string ChangeType
        {
            get
            {
                return ItemText ("TypeField");
            }
        }

        public string Status
        {
            get
            {
                return ItemText ("Status");
            }
        }

        public string ExpectedVersion
        {
            get
            {
                return ItemText ("Expected");
            }
        }

        public string Comments
        {
            get
            {
                return ItemText ("Comments");
            }
        }

        public string AssignedDeveloper
        {
            get
            {
                return ItemText ("Responsible");
            }
        }
    }
}
